package pa1.chat.server;

import java.rmi.Remote;
import java.rmi.RemoteException;

import pa1.chat.client.ChatClient;


public interface ChatServer extends Remote{
	
	public final String SERVICE_NAME = "chat.server.ChatServer";

	public void register(ChatClient client) throws RemoteException;
	
	public void unregister(ChatClient client) throws RemoteException;
	
	public void sendMessage(ChatClient client, String message) throws RemoteException;

}
